namespace KeGie.Admin.Server.Models;

/// <summary>
/// Dashboard统计数据模型
/// </summary>
public class DashboardStats
{
    /// <summary>
    /// 活跃数据统计
    /// </summary>
    public List<DisplayData> DisplayStats { get; set; }
    
    /// <summary>
    /// 旋转卡片统计
    /// </summary>
    public List<RotateData> RotateStats { get; set; }
    
    /// <summary>
    /// 价格套餐数据
    /// </summary>
    public List<PriceData> PricePlans { get; set; }
}

/// <summary>
/// 展示数据模型
/// </summary>
public class DisplayData
{
    /// <summary>
    /// 数量
    /// </summary>
    public object Count { get; set; }
    
    /// <summary>
    /// 小数位数
    /// </summary>
    public int? Decimals { get; set; }
    
    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }
    
    /// <summary>
    /// 颜色
    /// </summary>
    public string Color { get; set; }
    
    /// <summary>
    /// 字体颜色
    /// </summary>
    public string FontColor { get; set; }
    
    /// <summary>
    /// 链接
    /// </summary>
    public string Href { get; set; }
    
    /// <summary>
    /// 目标
    /// </summary>
    public string Target { get; set; }
}

/// <summary>
/// 旋转卡片数据模型
/// </summary>
public class RotateData
{
    /// <summary>
    /// 数量
    /// </summary>
    public string Count { get; set; }
    
    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }
    
    /// <summary>
    /// 图标
    /// </summary>
    public string Icon { get; set; }
    
    /// <summary>
    /// 颜色
    /// </summary>
    public string Color { get; set; }
}

/// <summary>
/// 价格套餐数据模型
/// </summary>
public class PriceData
{
    /// <summary>
    /// 标题
    /// </summary>
    public string Title { get; set; }
    
    /// <summary>
    /// 价格
    /// </summary>
    public decimal Price { get; set; }
    
    /// <summary>
    /// 附加文本
    /// </summary>
    public string Append { get; set; }
    
    /// <summary>
    /// 特性列表
    /// </summary>
    public List<string> List { get; set; }
}